package com.spring.dao;

import com.spring.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * Description:
 * Copyright:   Copyright (c)2019
 * Company:     zefu
 *
 * @author: 张李鑫
 * @version: 1.0
 * Create at:   2022-02-17 10:27:10
 * <p>
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2022-02-17     张李鑫                     1.0         1.0 Version
 */

public interface UserDao {

    @Insert("insert into user (name,age) values(#{name},#{age})")
    void insert(User user);

}
